<template>
  <div>
   <ul>
    <li v-for="item in arr" :key="item">{{item}}</li>
   </ul>
   <button @click="walk">走一走</button>
  </div>
</template>

<script>
export default {
data (){
  return {
    arr : ['帅哥','美女','程序员'],
    arr1: []
  }
},
methods : {
  walk (){
     this.arr1 = this.arr.shift()
     this.arr = [...this.arr,this.arr1]
  }
}
}
</script>

<style>

</style>